home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1999 October
/
PCWorld_1999-10_cd1.bin
/
Software
/
Servis
/
X-setup
/
_SETUP.1
/
XQ IE Default URLs.xpl
< prev
next >
Wrap
Text File
|
1999-05-22
|
2KB
|
68 lines
"FILE"="Xteq Systems X-Setup Plugin 3.1"
"TYPE"="1"
"COUNT"="4"
"UIPATH"="Internet\Internet Explorer\System"
"NAME"="Default URLs"
"LANGUAGE"="VBScript"
"TEXT 1"="Blank Page"
"TEXT 2"="Navi. Canceled"
"TEXT 3"="Navi. Failed"
"TEXT 4"="Offline Failed"
"DESCRIPTION 1"="Blank Page: The URL if a blank page should be displayed (default: "res://mshtml.dll/blank.htm")."
"DESCRIPTION 2"="Navigation Canceled: The URL if naviagtion has been cancelled (default: "res://shdocvw.dll/navcancl.htm")."
"DESCRIPTION 3"="Navigation Failed: The URL if IE couldn't complete a naviagation request ("res://shdocvw.dll/navcancl.htm")."
"DESCRIPTION 4"="Offline Failed: The URL to be used if the requested URL couldn't be loaded in offline-mode ("res://shdocvw.dll/offcancl.htm")."
"DESCRIPTION 5"=""
"AUTHOR"="Xteq Systems"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@gmx.net."
"COMMENT 2"="Version 1.2"
sP="HKLM\Software\Microsoft\Internet Explorer\AboutURLs\"
vB="blank"
vNC="NavigationCanceled"
vNF="NavigationFailure"
vOI="OfflineInformation"
Sub Plugin_Initialize
if RegPathExists(sp) then
s=RegReadValue(sp&vb)
SetUIElement 1,s
s=RegReadValue(sp&vnc)
SetUIElement 2,s
s=RegReadValue(sp&vnf)
SetUIElement 3,s
s=RegReadValue(sp&voi)
SetUIElement 4,s
else
Disable
end if
End Sub
Sub Plugin_CheckData(ElementIndex)
s=GetUIElement(ElementIndex)
if len(s)<=0 then
DataInvalid "Please enter a valid URL or, to use the default values, copy the URLs from the description box."
end if
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
s=GetUIElement(1)
Call RegWriteValue(sp&vb,s,1)
s=GetUIElement(2)
Call RegWriteValue(sp&vnc,s,1)
s=GetUIElement(3)
Call RegWriteValue(sp&vnf,s,1)
s=GetUIElement(4)
Call RegWriteValue(sp&voi,s,1)
End Sub
Sub Plugin_Terminate
End Sub